package com.smartlbs.baseframe.web;

import java.io.Serializable;

public class ResponseInfo implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = -9199342694046443875L;
	
	/*
	 * 状态
	 */
	//private boolean isSuccess = true;
	
	/*
	 * 响应码
	 */
	//private int code = 200;
	
	/*
	 * 响应结果 0-失败 1-成功
	 */
	private Integer result = 0;
	
	/*
	 * 提示信息
	 */
	private String message;
	
	/*
	 * 响应数据
	 */
	private Object data;

//	public boolean isSuccess() {
//		return isSuccess;
//	}
//
//	public void setSuccess(boolean isSuccess) {
//		this.isSuccess = isSuccess;
//	}
//
//	public int getCode() {
//		return code;
//	}
//
//	public void setCode(int code) {
//		this.code = code;
//	}

	public String getMessage() {
		return message;
	}

	public Integer getResult() {
		return result;
	}

	public void setResult(Integer result) {
		this.result = result;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public Object getData() {
		return data;
	}

	public void setData(Object data) {
		this.data = data;
	}
}
